package com.huilian.iotbox.admin.controller;

import com.huilian.iotbox.admin.service.PayCompanyService;
import com.huilian.iotbox.data.common.ServerResponse;
import com.huilian.iotbox.data.controller.BaseController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 谢洛涛
 * @date 2021/6/24 18:19
 */
@RestController
@RequestMapping("/api/payCompany")
public class PayCompanyController extends BaseController {
    @Autowired
    private PayCompanyService payCompanyService;
    @GetMapping("/findPayCompanyList")
    public ServerResponse findPayCompanyList(){
        return ServerResponse.createBySuccess(payCompanyService.findPayCompanyList());
    }
}
